1 //-------------------------------------------------------------------------------------------------
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //-------------------------------------------------------------------------------------------------
33 const T
& GetValue() const
35 ThrowIfFalse(HasValue());
41 ThrowIfFalse(HasValue());
45 T
GetValueOrDefault( _In_
const T
& defaultValue
) const
54 void SetValue(T value
)
65 void ClearValue(const T
& defaultValue
)
68 m_value
= defaultValue
;